package org.learn.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/product")
public class ProductController {

    @RequestMapping("/add")
    public String add(Model model) {
        return "product/add";
    }

    @RequestMapping("/update")
    public String update(Model model) {
        return "product/update";
    }

    @RequestMapping("/delete")
    public String del(Model model) {
        return "product/del";
    }

}
